package com.sino.operation.websocket;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
/**
 * @Title: WebSocketConfig
 * @Description:
 * @Author dengls
 * @date 2021/10/9 9:52
 */
@Configuration
@Slf4j
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        log.info("websocket");
        return new ServerEndpointExporter();
    }

}
